package com.jic.order.model.entity;

import java.util.Date;
import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel(description = " m_order_after_sale_apply ")
public class MOrderAfterSaleApply extends BaseEntity {
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "")
    private Long id;

    @ApiModelProperty(notes = "售后编号")
    private String afterSaleNo;

    @ApiModelProperty(notes = "订单编号")
    private String orderNo;

    @ApiModelProperty(notes = "下单时间")
    private Date orderTime;

    @ApiModelProperty(notes = "会员id")
    private Long memberId;

    @ApiModelProperty(notes = "退款分摊金额")
    private BigDecimal returnAbsorbAmount;

    @ApiModelProperty(notes = "退款金额")
    private BigDecimal returnAmount;

    @ApiModelProperty(notes = "退款实际金额")
    private BigDecimal returnRealAmount;

    @ApiModelProperty(notes = "退回积分")
    private BigDecimal returnPoints;

    @ApiModelProperty(notes = "申请人姓名")
    private String applyName;

    @ApiModelProperty(notes = "申请人电话")
    private String applyPhone;

    @ApiModelProperty(notes = "申请时间")
    private Date applyTime;

    @ApiModelProperty(notes = "申请原因")
    private String applyReason;

    @ApiModelProperty(notes = "申请详细原因")
    private String applyDetailReason;

    @ApiModelProperty(notes = "凭证图片，以逗号隔开")
    private String proofPics;

    @ApiModelProperty(notes = "申请状态, 1010:申请退款待处理; 1020:取消售后; 1030:审核通过; 1040:审核拒绝; 1050:审核后取消售后; 1060:退款中; 1070:退款成功;1080:换货待处理;1090:换货已收货;1100：换货已发货")
    private Integer status;

    @ApiModelProperty(notes = "处理人员")
    private String handleMan;

    @ApiModelProperty(notes = "处理备注")
    private String handleNote;

    @ApiModelProperty(notes = "处理时间")
    private Date handleTime;

    @ApiModelProperty(notes = "商品id")
    private Long goodsId;

    @ApiModelProperty(notes = "商品图片")
    private String goodsImgUrl;

    @ApiModelProperty(notes = "商品名称")
    private String goodsName;

    @ApiModelProperty(notes = "退货数量")
    private Integer goodsNum;

    @ApiModelProperty(notes = "商品单价")
    private BigDecimal goodsPrice;

    @ApiModelProperty(notes = "商品实际支付单价")
    private BigDecimal goodsRealPrice;

    @ApiModelProperty(notes = "取货区域表id")
    private Long pickAreaId;

    @ApiModelProperty(notes = "取货详细地址")
    private String pickDetailAddress;

    @ApiModelProperty(notes = "取货地联系人")
    private String pickLinkman;

    @ApiModelProperty(notes = "取货开始时间")
    private Date pickStartTime;

    @ApiModelProperty(notes = "取货结束时间")
    private Date pickEndTime;

    @ApiModelProperty(notes = "取货备注")
    private String pickNote;

    @ApiModelProperty(notes = "收货区域表id")
    private Long receiveAreaId;

    @ApiModelProperty(notes = "收货详细地址")
    private String receiveDetailAddress;

    @ApiModelProperty(notes = "收货人")
    private String receiveLinkman;

    @ApiModelProperty(notes = "收货人手机号")
    private String receivePhone;

    @ApiModelProperty(notes = "收货时间")
    private Date receiveTime;

    @ApiModelProperty(notes = "收货备注")
    private String receiveNote;

    @ApiModelProperty(notes = "备注")
    private String remark;

    @ApiModelProperty(notes = "退货配送商")
    private Long returnDistributor;

    @ApiModelProperty(notes = "退货物流单号")
    private String returnNumber;

    @ApiModelProperty(notes = "售后完成时间")
    private Date afterSalesCompletionTime;

    @ApiModelProperty(notes = "寄回状态 1待寄回，2已寄回")
    private Integer sendBackStatus;

    @ApiModelProperty(notes = "申请寄回方式 0上门取件，1快贷寄回")
    private Integer sendBackType;

    @ApiModelProperty(notes = "申请类型 c端用户申请，1管理员发起申请")
    private Integer applyType;

    @ApiModelProperty(notes = "售后类型 1仅退款未发货，2仅退款已发货，3退款退货,4 换货")
    private Integer afterSaleType;

    @ApiModelProperty(notes = "审核时间")
    private Date auditTime;

    @ApiModelProperty(notes = "第三方商品编码")
    private String productCode;

    @ApiModelProperty(notes = "后台物流公司id")
    private Long logisticsCompany;

    @ApiModelProperty(notes = "后台物流编号")
    private String logisticsNo;

    @ApiModelProperty(notes = "前台物流公司id")
    private Long restLogisticsCompany;

    @ApiModelProperty(notes = "前台物流编号")
    private String restLogisticsNo;

    @ApiModelProperty(notes = "创建人姓名")
    private String creatorName;

    @ApiModelProperty(notes = "更新人姓名")
    private String updaterName;

}
